#ifndef CALLINFO_H
#define CALLINFO_H

#include "baseresp.h"
#include <QMetaType>

class CallInfo : public BaseResp
{
public:
    CallInfo();

    enum CallStatus{
        CALL_FREE = 0,
        CALL_BUSY,
        CALL_STATUS_MAX
    };

    void unserialize(QString json);

    int getCallStatus() const;
    void setCallStatus(int value);

    QString getConferenceNumber() const;
    void setConferenceNumber(const QString &value);

private:
    int call_status;
    QString conference_number;
};

Q_DECLARE_METATYPE(CallInfo)

#endif // CALLINFO_H
